﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class Student:Person
    {
        private string major;
        private string garde;
        public string Major
        {
            get { return this.major; }
            set { this.major = value; }
        }
        public string Garde
        {
            get { return this.garde; }
            set { this.garde = value; }
        }
        public void student(string major,string garde) 
        {
            this.major = major;
            this.garde = garde;
        }

    }


}
